﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CrystalDecisions.CrystalReports.Engine;

namespace Presentation
{
    public partial class frmViewReport : Form
    {
        public ReportDocument rptDoc;
        public frmViewReport()
        {
            InitializeComponent();
        }

        private void frmViewReport_Load(object sender, EventArgs e)
        {
            if (rptDoc != null)
            {
                this.rptView.ReportSource = rptDoc;
            }
        }
    }
}
